Xbasic

OBJECT.IS_ON_LAST_OBJECT Function

Syntax

.Is_On_Last_Object()

Description

Indicates if the current object is the last object on the layout.

Discussion

The <OBJECT>.IS_ON_LAST_OBJECT() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.IS_ON_LAST_OBJECT() method returns .T. (TRUE) if the object is the last object on the layout, as specified in the layout's tab order; otherwise, it returns .F. (FALSE).

Example

dim frm as P
frm = form.view("Customer Information")
? frm.Is_On_Last_Object()
= .F.

Limitations

Desktop applications only.

See Also